package sctu.edu.java.year2016.team07.shihaocheng.day20160523.chapter3_3;

/**
 * Created by admin on 2016/5/23.
 *声明两个变量并赋值38.9和27.2作为矩形的长宽，并计算出面积
 */
public class chapter3_3 {
    public static void main(String[] args) {
        float a=38.9f,b=27.2f;

        System.out.println("矩形的长是："+a+"\n矩形的宽是："+b);

        System.out.println("矩形的面积是："+(a*b));
    }

}
